package beans;



import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

@Entity
@Inheritance(strategy = InheritanceType.JOINED)
@Table(name="Ingredientes")
public class IngredienteBean extends ProductoBean {
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Column(name="fresco")
	private boolean fresco;
	
	public IngredienteBean(boolean fresco,String nombre,String categorizacion) {
		super(nombre, categorizacion);
		this.fresco=fresco;
	}

	public IngredienteBean() {
		super();
	}

	public boolean isFresco() {
		return fresco;
	}

	public void setFresco(boolean fresco) {
		this.fresco = fresco;
	}
	
	
}
